package com.kofigyan.stateprogressbarsample;

import ohos.aafwk.content.Intent;
import ohos.agp.components.Component;

public class ChangingStatesSizeActivity extends BaseAbility {

    String[] descriptionData = {"Details", "Status", "Photo", "Event", "Promo" };

    @Override
    protected void onStart(Intent intent) {
        super.onStart(intent);
        stateProgressBar.setStateDescriptionData(descriptionData);
        actionBar.getRightView().setVisibility(Component.INVISIBLE);
    }

    @Override
    protected int getLayoutId() {
        return ResourceTable.Layout_ability_changing_states_size;
    }
}
